$OpenBSD: patch-Makefile_in,v 1.1.1.1 2016/01/01 11:54:26 bentley Exp $
--- Makefile.in.orig	Sun Dec 20 01:35:32 2015
+++ Makefile.in	Sun Dec 20 01:35:34 2015
@@ -771,7 +771,7 @@ install-data-local:
 	rm -rf modes
 	mv modes.bak modes
 	test -d $(DESTDIR)$(apertium_modesdir) || mkdir $(DESTDIR)$(apertium_modesdir)
-	$(INSTALL_DATA) $(PREFIX1).mode $(apertium_modesdir)
+	$(INSTALL_DATA) $(PREFIX1).mode $(DESTDIR)$(apertium_modesdir)
 	rm -f $(PREFIX1).mode
 clean-local:
 	-rm -rf modes
